package com.zucc.eye.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import java.util.Date;
import java.util.List;
import java.io.Serializable;
import javax.persistence.*;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @description history
 * @author zhengkai.blog.csdn.net
 * @date 2022-02-14
 */
@Entity
@Builder
@AllArgsConstructor
@Data
@Table(name="history")
@ApiModel("history")
public class History implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty("id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
    * url
    */
    @ApiModelProperty("url")
    @Column(name="url")
    private String url;

    /**
    * create_time
    */
    @ApiModelProperty("create_time")
    @Column(name="create_time")
    private Date createTime;

    /**
    * update_time
    */
    @ApiModelProperty("update_time")
    @Column(name="update_time")
    private Date updateTime;

    public History() {
    }

}